UPDATE C1_PERMISSION SET END_DATE = SYSDATE, DATA_STATE_CODE = '0' WHERE
INSTR(','||:permissionIds||',', ','||PERMISSION_ID||',') > 0